package com.devin.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("")
public class IndexController {
    @RequestMapping("/")
    public String Index(){
        return "pages/index";
    }

    @RequestMapping("/main")
    public String index(){
        return "pages/main";
    }

    @RequestMapping("/toLogin")
    public String toLogin(){
        return "pages/login";
    }

    @RequestMapping("/unLogin")
    public String unLogin(){
        return "unLogin";
    }
    @RequestMapping("/success")
    public String success(){
        return "success";
    }

    @RequestMapping("/logoutSuccess")
    public String logoutSuccess(){
        return "logoutSuccess";
    }

}
